package com.kly.user.db.dao;

import com.fqgj.common.base.BaseMapper;
import com.kly.user.db.entity.UserOnlineLogEntity;

import java.time.LocalDateTime;

/**
 * User: linqu
 * Date: 2023-08-11
 * Time: 02:04:58.445
 */

public interface UserOnlineLogDao extends BaseMapper<UserOnlineLogEntity> {

    /**
     * 检查chatter是否在线
     * @param userCode
     * @param dates
     * @return
     */
    Integer checkOnline(String userCode, String dates);

    /**
     * 增加用户在线日志
     */
    void addUserOnlineLog();

    /**
     * 删除数据
     */
    Integer removeData();

}